package com.pucong.gitee.database.backup.common.entity.redis.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("redis 删除key dto")
public class RedisKeyRemoveDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("库")
    private int index;

    @NotBlank
    @ApiModelProperty("key")
    private String key;
}
